package com.local.dao.mapers;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.local.entity.report.MemberVo;
import com.local.model.LocalMember;
import com.local.model.LocalMemberExample;
import com.local.page.LocalMemberPage;
import com.local.page.report.LocalMemberVoPage;
import com.qianhai.common.dao.face.BaseMapper;

public interface LocalMemberMapper extends BaseMapper<LocalMemberExample, LocalMember, String> {
	List<LocalMember> findParkwellMemberByCarNo(String carNo);
	
	List<LocalMember> findCarNoIsMemberInPark(@Param("carNo") String carNo,
			@Param("happenTime") Date happenTime);
	
	MemberVo queryMemberVo(LocalMemberVoPage<MemberVo> pageInfo);
	
	List<LocalMember> queryByVoPage(LocalMemberPage<LocalMember> pageInfo);
	
	Integer countAllByVoPage(LocalMemberPage<LocalMember> pageInfo);
}